import 'package:riverpod_annotation/riverpod_annotation.dart';

part 'product_details_content_provider.g.dart';

@riverpod
class ProductDetailsSwiperHeight extends _$ProductDetailsSwiperHeight {
  @override
  double build(double initValue) {
    return initValue;
  }

  void setNewHeight(double height) async {
    state = height;
  }
}

@riverpod
class ProductDetailsSwiperIndex extends _$ProductDetailsSwiperIndex {
  @override
  int build() {
    return 0;
  }

  void setNewData(int value) async {
    state = value;
  }
}
